package com.juc.nonBlockingQueue.nonBblockingQueue8;

public class ThreadA extends Thread{

	private MyService1 service;
	
	public ThreadA(MyService1 service){
		super();
		this.service =service;
	}
	@Override
	public void run() {
		for (int i = 0; i < 50; i++) {
			service.queue.add("threadA" + (i+1));
		}
	}
}
